appearancemanager.htmlHTMLudog]πùΔ¢πùΔ¢ÅÅëÿ Monkeybread Realbasic plugin - Documentation - Appearance Manager

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

AntiAliasedTextSize as integer

global method, Appearance Manager So, 14. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways 0
Function: Returns which text size is the minimum size for Antialiased text.
Example: msgbox "All text with textsize "+str(AntiAliasedTextSize)+" and bigger is antialiased if antialiasing is on."
Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

AppearanceSmallFont as string

global method, Appearance Manager So, 14. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways ""
Function: Returns which text font to use for small text output.
Example: msgbox "The system small font is "+AppearanceSmallFont
Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

AppearanceSmallFontSize as string

global method, Appearance Manager So, 14. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways 0
Function: Returns which text size to use for small text output.
Example: msgbox "The small system font size is "+AppearanceSmallFontSize
Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

AppearanceSystemFont as string

global method, Appearance Manager So, 14. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways ""
Function: Returns which text font to use for normal text output.
Example: msgbox "The system font is "+AppearanceSystemFont
Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

AppearanceSystemFontSize as string

global method, Appearance Manager So, 14. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways 0
Function: Returns which text size to use for normal text output.
Example: msgbox "The system font size is "+AppearanceSystemFontSize
Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

AppearanceViewsFont as string

global method, Appearance Manager So, 14. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways ""
Function: Returns which text font to use for list text output.
Example: msgbox "The system list font is "+AppearanceViewsFont
Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

AppearanceViewsFontSize as string

global method, Appearance Manager So, 14. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways 0
Function: Returns which text size to use for list text output.
Example: msgbox "The system list font size is "+AppearanceViewsFontSize
Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

CurrentAppearanceTheme as string

global method, Appearance Manager So, 14. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways ""
Function: Returns which theme is used on your computer.
Example: msgbox "You are using this theme: "+CurrentAppearanceTheme
Notes:
Possible values:
com.apple.theme.appearance.platinum
com.apple.theme.appearance.aqua
com.apple.theme.appearance.aqua.blue
com.apple.theme.appearance.aqua.graphite
Returns "" on any error.
Available in CarbonLib 1.4 and later. Available in Mac OS X 10.1 and later.

IsAntiAliasedTextEnabled as boolean

global method, Appearance Manager Sa, 27. Jul 2002
Mac OS Classic: Works Mac OS Carbon: Works Windows: returns allways false
Function: Looks whether Antialiasing is enabled for Text displaying.
Example:
if IsAntiAliasedTextEnabled then
msgbox "Text display is a little bit slower using Antialiasing :-)"
end if
Notes:
Note that this function requires the Appearance Manager:
System 7.1 to 7.6.1 - use version 1.0.4 from Apple
Mac OS 8 and 8.1 - use version installed
Mac OS 8.5 and newer - the lib is in the system suitcase

PlayThemeSound(soundID as string) as integer

global method, Appearance Manager So, 25. Aug 2002
Mac OS Classic: Works. Mac OS Carbon: -> -1. Windows: -> -1.
Function: Plays a system sound.
Example:
dim e as integer
e=PlayThemeSound("mnuo")
Notes:
MenuSounds
MenuOpenmnuo
MenuClosemnuc
MenuItemHilitemnui
MenuItemReleasemnus
WindowClosePresswclp
window sounds
WindowCloseEnterwcle
WindowCloseExitwclx
WindowCloseReleasewclr
WindowZoomPresswzmp
WindowZoomEnterwzme
WindowZoomExitwzmx
WindowZoomReleasewzmr
WindowCollapsePresswcop
WindowCollapseEnterwcoe
WindowCollapseExitwcox
WindowCollapseReleasewcor
WindowDragBoundarywdbd
UtilWinClosePressuclp
utility window sounds
UtilWinCloseEnterucle
UtilWinCloseExituclx
UtilWinCloseReleaseuclr
UtilWinZoomPressuzmp
UtilWinZoomEnteruzme
UtilWinZoomExituzmx
UtilWinZoomReleaseuzmr
UtilWinCollapsePressucop
UtilWinCollapseEnterucoe
UtilWinCollapseExitucox
UtilWinCollapseReleaseucor
UtilWinDragBoundaryudbd
WindowOpenwopn
window close and zoom action
WindowClosewcls
WindowZoomInwzmi
WindowZoomOutwzmo
WindowCollapseUpwcol
WindowCollapseDownwexp
WindowActivatewact
UtilWindowOpenuopn
UtilWindowCloseucls
UtilWindowZoomInuzmi
UtilWindowZoomOutuzmo
UtilWindowCollapseUpucol
UtilWindowCollapseDownuexp
UtilWindowActivateuact
DialogOpendopn
DialogClosedlgc
AlertOpenaopn
AlertClosealtc
PopupWindowOpenpwop
PopupWindowClosepwcl
ButtonPressbtnp
button
ButtonEnterbtne
ButtonExitbtnx
ButtonReleasebtnr
DefaultButtonPressdbtp
default button
DefaultButtonEnterdbte
DefaultButtonExitdbtx
DefaultButtonReleasedbtr
CancelButtonPresscbtp
cancel button
CancelButtonEntercbte
CancelButtonExitcbtx
CancelButtonReleasecbtr
CheckboxPresschkp
checkboxes
CheckboxEnterchke
CheckboxExitchkx
CheckboxReleasechkr
RadioPressradp
radio buttons
RadioEnterrade
RadioExitradx
RadioReleaseradr
ScrollArrowPresssbap
scrollbars
ScrollArrowEntersbae
ScrollArrowExitsbax
ScrollArrowReleasesbar
ScrollEndOfTracksbte
ScrollTrackPresssbtp
SliderEndOfTrackslte
sliders
SliderTrackPresssltp
BalloonOpenblno
help balloons
BalloonCloseblnc
BevelPressbevp
Bevel buttons
BevelEnterbeve
BevelExitbevx
BevelReleasebevr
LittleArrowUpPresslaup
Little Arrows
LittleArrowDnPressladp
LittleArrowEnterlare
LittleArrowExitlarx
LittleArrowUpReleaselaur
LittleArrowDnReleaseladr
PopupPresspopp
Popup Buttons
PopupEnterpope
PopupExitpopx
PopupReleasepopr
DisclosurePressdscp
Disclosure Buttons
DisclosureEnterdsce
DisclosureExitdscx
DisclosureReleasedscr
TabPressedtabp
Tabs
TabEntertabe
TabExittabx
TabReleasetabr
DragTargetHilitedthi
drag manager
DragTargetUnhilitedtuh
DragTargetDropdtdr
EmptyTrashftrs
Finder
SelectItemfsel
NewItemfnew
ReceiveDropfdrp
CopyDonefcpd
ResolveAliasfral
LaunchAppflap
DiskInsertdski
DiskEjectdske
FinderDragOnIconfdon
FinderDragOffIconfdof

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ